package com.yaoxuguang.concurrence.InheritableThreadLocalPack;

/**
 * @author yaoxuguang
 * @Title: yao-interview
 * @Package com.yaoxuguang.concurrence.InheritableThreadLocalPack
 * @Description: TODO
 * @date 2018年12月24日15:03
 */
public class ThreadA extends Thread{
    @Override
    public void run() {
        try {
            for (int i = 0; i < 10; i++) {
                System.out.println("在线程ThreadA中取值="+Tools.t1.get());
                Thread.sleep(100);
            }
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
